import random

random.seed(1)

print('(1)', '-' * 32)
for i in range(4):
    print(random.random())  # [0.0, 1.0)

print('(2)', '-' * 32)
for i in range(4):
    print(random.uniform(0, 2))  # [0.0, 2.0]

print('(3)', '-' * 32)
for i in range(40):
    print(random.randint(0, 3), end=', ')  # [0, 3]
    if i % 10 == 9:
        print()

print('(4)', '-' * 32)
for i in range(40):
    print(random.randrange(3), end=', ')  # [0, 3)
    if i % 10 == 9:
        print()

print('(5)', '-' * 32)
list_langs = ['py', 'c', 'c++', 'java', 'js']
list_langs_len = len(list_langs)
for i in range(10):
    print(list_langs[random.randrange(list_langs_len)], end=', ')
print
